/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jholmedia.transindica;

/**
 *
 * @author kinjal
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here`
        Extract e = new Extract();
        e.setInputFolder("testdata/");
        e.setOutputFolder("testdata/");
        //e.extract("a0010001.pdf", "a0010001.txt");

        Transform t = new Transform();
        t.setInputFolder("testdata/");
        t.setOutputFolder("testdata/");
        //t.loadRuleSet("Tamil-Gujarati");
        t.loadRuleFile("icurules/itrans-u0a80.icurules");
        t.transform("gujarati-itrans.txt", "gujarati-unicode.txt");
        
    /*
    String output = t.transform("aaaiiiuuuRRiLLieaioau");
    output = t.transform("kakaa");
    for(char c:output.toCharArray()) {
    System.out.print(Integer.toHexString(c)+":");
    }
     */
    }
}
